package com.jiaok.exception;

/**
 * 错误状态码枚举
 * @Author jiaok
 * @Date 2023/5/12 14:57
 */
public enum BizCodeEnum {

    UNKNOW_EXCEPTION(10000,"系统未知异常");

    private Integer code;

    private String message;

    BizCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
